<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled</title>
<link rel="stylesheet" href="__PUBLIC__/Green/css/global.css" />
<link href="__PUBLIC__/Green/css/bootstrap.css" rel='stylesheet' type='text/css' />
<script src="__PUBLIC__/Green/js/jquery-1.11.0.min.js"></script>
</head>
<body>
  <form id="frm" name="form" action="__SELF__">
      <div class="form-group">
        <label for="c_dpt_cde">市区代码</label>
        <input type="text" class="form-control" id="c_dpt_cde" name="c_dpt_cde" placeholder="市区代码">
      </div>
      <div class="form-group">
        <label for="t_insrnc_bgn_tm">商业险-保险起期</label>
        <input type="text" class="form-control" id="t_insrnc_bgn_tm" name="t_insrnc_bgn_tm" placeholder="商业险-保险起期">
      </div>
      <div class="form-group">
        <label for="c_fst_reg_dte">车辆初始登记日期</label>
        <input type="text" class="form-control" id="c_fst_reg_dte" name="c_fst_reg_dte" placeholder="车辆初始登记日期">
      </div>
      <div class="form-group">
        <label for="c_lcn_no">车牌号码</label>
        <input type="text" class="form-control" id="c_lcn_no" name="c_lcn_no" placeholder="车牌号码，新车未上牌填*-*">
      </div>
      <div class="form-group">
        <label for="c_new_vhl">是否新车</label>
        <input type="text" class="form-control" id="c_new_vhl" name="c_new_vhl" placeholder="是否新车 1-是；0-否">
      </div>
      <div class="form-group">
        <label for="c_eng_no">发动机号</label>
        <input type="text" class="form-control" id="c_eng_no" name="c_eng_no" placeholder="发动机号 大于等于6位">
      </div>
      <div class="form-group">
        <label for="c_vhl_frm">车架号</label>
        <input type="text" class="form-control" id="c_vhl_frm" name="c_vhl_frm" placeholder="车架号 17位">
      </div>
      <div class="form-group">
        <label for="c_vehicle_code">车型代码（车型编码）</label>
        <input type="text" class="form-control" id="c_vehicle_code" name="c_vehicle_code" placeholder="车型代码（车型编码）">
      </div>
      <div class="form-group">
        <label for="c_vehicle_name">车型名称</label>
        <input type="text" class="form-control" id="c_vehicle_name" name="c_vehicle_name" placeholder="车型名称">
      </div>
      <div class="form-group">
        <label for="c_vehicle_brand">品牌名称</label>
        <input type="text" class="form-control" id="c_vehicle_brand" name="c_vehicle_brand" placeholder="品牌名称">
      </div>
      <div class="form-group">
        <label for="n_vehicle_price">新车购置价</label>
        <input type="text" class="form-control" id="n_vehicle_price" name="n_vehicle_price" placeholder="新车购置价">
      </div>
      <div class="form-group">
        <label for="n_limit_load_person">核定载客人数</label>
        <input type="text" class="form-control" id="n_limit_load_person" name="n_limit_load_person" placeholder="核定载客人数">
      </div>
      <div class="form-group">
        <label for="c_ext_msr">排气量</label>
        <input type="text" class="form-control" id="c_ext_msr" name="c_ext_msr" placeholder="排气量 单位：毫升。">
      </div>
      <div class="form-group">
        <label for="c_vehicle_family">车系名称（车型库车系）</label>
        <input type="text" class="form-control" id="c_vehicle_family" name="c_vehicle_family" placeholder="车系名称（车型库车系）">
      </div>
      <div class="form-group">
        <label for="c_drv_owner">车主姓名</label>
        <input type="text" class="form-control" id="c_drv_owner" name="c_drv_owner" placeholder="车主姓名">
      </div>
      <div class="form-group">
        <label for="c_import_flag">车型种类</label>
        <input type="text" class="form-control" id="c_import_flag" name="c_import_flag" placeholder="车型种类 国产/进口/合资">
      </div>
      <div class="form-group">
        <label for="c_vehicle_model">车辆型号</label>
        <input type="text" class="form-control" id="c_vehicle_model" name="c_vehicle_model" placeholder="车辆型号">
      </div>
      <div class="form-group">
        <label for="c_whole_weight">整备质量</label>
        <input type="text" class="form-control" id="c_whole_weight" name="c_whole_weight" placeholder="整备质量 单位：千克">
      </div>
      <div class="form-group">
        <label for="c_model_desc">车型描述</label>
        <input type="text" class="form-control" id="c_model_desc" name="c_model_desc" placeholder="车型描述">
      </div>
      <div class="form-group">
        <label for="n_vehicle_tonnage">载重量</label>
        <input type="text" class="form-control" id="n_vehicle_tonnage" name="n_vehicle_tonnage" placeholder="载重量 单位：吨">
      </div>
      <div class="form-group">
        <label for="c_market_timestamp">上市年份</label>
        <input type="text" class="form-control" id="c_market_timestamp" name="c_market_timestamp" placeholder="上市年份">
      </div>
      <div class="form-group">
        <label for="c_age_level">年龄档次</label>
        <input type="text" class="form-control" id="c_age_level" name="c_age_level" placeholder="年龄档次">
      </div>
      <div class="form-group">
        <label for="c_sex">性别</label>
        <input type="text" class="form-control" id="c_sex" name="c_sex" placeholder="性别">
      </div>
      <div class="form-group">
        <label for="verfycode">TOKEN</label>
        <input type="text" class="form-control" id="token" name="token" value="{$token}">
      </div>
      <button type="submit" class="btn btn-default">递交</button>
  </form>
<script type="text/javascript" src="__PUBLIC__/Green/js/jquery.validate.min.js"></script>
<script type="text/javascript">
$('#frm').validate({
            submitHandler:function(form){
                $.post("__SELF__",$(form).serialize(),function(data){
                    if(data.status){
                       alert(data.info);
                    }else{
                        alert(data.info);
                    }
                },'json');
            } 
        });
</script>
</body>
</html>
